// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-form-item__label {
  font-size: 15px;
  font-weight: normal;
}

.el-select,
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100% !important;
}

.el-button--small,
.el-button--small.is-round {
  padding: 9px 30px;
}

.el-form-item__content {
  text-align: center;
}

.el-input__inner {
  height: 35px;
}

.el-dialog__header {
  border-bottom: 1px solid #DCDFE6;
  font-size: 18px;
  font-weight: bold;
}

// 左边栏折叠纸之后 鼠标放在一级菜单上 右侧二级菜单的背景色
.el-menu {
  background: $menuBg !important;
}

// 右侧边栏背景色 继承父亲的渐变色
.sidebar-container .el-menu {
  background: transparent !important;
}

// 分页
.el-pagination {
  margin-top: 15px;
}

// 表格样式
.table-wrap {
  padding: 20px;
  margin-top: 15px;

  .scope-operate {
    display: flex;
    font-size: 17px;
    justify-content: space-around;
    align-items: center;
  }

  th {
    font-size: 15px;
  }

  tr {
    font-size: 14px;
  }

  .el-table {
    .cell {
      text-align: center;
    }

    th.gutter {
      display: table-cell !important;
    }

    colgroup.gutter {
      display: table-cell !important;
    }
  }
}
